package cn.zcy.service.southwestimpl;

import cn.zcy.annotations.District;
import cn.zcy.service.DistrictPercentage;
import org.springframework.stereotype.Service;

/**
 * 西南区销售分成的具体实现
 */
@Service(value = "districtPercentage")
@District("southwest")
public class SouthwestDistricePercentageImpl implements DistrictPercentage {
    @Override
    public void salePercentage(String type) {
        if ("SUV".equalsIgnoreCase(type)) {
            System.out.println("西南区" + type + "提成1.5%");
        }else if ("CAR".equalsIgnoreCase(type)){
            System.out.println("西南区"+type+"提成0.5%");
        }else {

        }
    }
}
